Skip to content

refactor: admin UI module#249

Merged
arrocke merged 3 commits intomainfrom
admin-ui-module
Apr 10, 2026
Merged

refactor: admin UI module#249
arrocke merged 3 commits intomainfrom
admin-ui-module

Conversation

@arrocke
Copy link
Copy Markdown
Member

@arrocke arrocke commented Apr 10, 2026

Justification

organizing the UI around areas (admin, translation, study, auth, etc) is helpful because most UI crosses module boundaries. So a UI area owns its read models, server functions for loading read models, components, etc, but calls into modules for mutations.

Changes

  • New ui/admin/ module
    • readModels - functions for querying the database (readonly)
    • serverFns - server functions for fetching read models
    • components - react components for the routes
    • routes - routes nested under /admin, mounted via virtual file routes
  • Moved files out of modules into this new structure

@arrocke arrocke merged commit 6b4fb6f into main Apr 10, 2026
2 checks passed
@arrocke arrocke deleted the admin-ui-module branch April 10, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant